package cn.newtouch.basic.service.impl;

import cn.newtouch.basic.service.IBaiduAiAuditService;
import cn.newtouch.basic.util.BaiduAuditUtils;
import org.springframework.stereotype.Service;

@Service
public class BaiduAiAuditServiceImpl implements IBaiduAiAuditService {
    @Override
    public Boolean textAudit(String text) {
        return BaiduAuditUtils.TextCensor(text);
    }

    @Override
    public Boolean imageAudit(String resources) {
        return true;
    }
}
